<?php
/**
 * @copyright:Copyright (C) 2010-2014 LiZaoNet Inc. (http://www.lizaonet.com)
 * @license: http://www.lizaonet.com
 * @link:http://www.lizaonet.com
 * @since:File available since Release v1.0
 * @Created by Azrael
 * @User: Azrael
 * @Date: 2016/1/26
 * @Time: 16:30
 *
 */

namespace Home\Logic;


use Home\Model\FangjianModel;
use Home\Model\UserlistModel;
use LogicException;

class ChatRoomLogic
{
    public function index($mid, $fid)
    {
        //用户信息
        $userinfo_m = new UserlistModel();
        $userinfo = $userinfo_m->getUserInfoByTujianMid($mid);

        //获取房间信息
        $fangjianM = new FangjianModel();
        $fangjianinfo = $fangjianM->getInfoByFid($fid);

    }
}